import { View, Image } from "@tarojs/components";
import { AtButton } from "taro-ui";
import HeaderBg from "../../assets/HeadBg.png";
import "./index.scss";
import GlobalFooter from "../../components/GlobalFooter";

/**
 * 主页
 */
export default () => {
  // @ts-ignore
  // @ts-ignore
  // @ts-ignore
  return (
    <View className="indexPage">
      <View className="title">MBTI 性格测试</View>
      <View className="subTitle">
        MBTI性格测试帮助你了解自己的性格类型，促进自我发现和人际关系的改善。
      </View>
      <AtButton type="primary" circle className="enterBtn">
        开始测试
      </AtButton>
      <Image className="headerBg" src={HeaderBg} />
      <GlobalFooter />
    </View>
  );
};
